package com.ewo.entity.workOrder;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

//工单信息
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class WorkOrderInfo {
    private int id;
    //工单id
    private String work_id;
    //工单状态
    private int work_status;
    //管理员id
    private String a_id;
    //管理员姓名
    private String a_name;
    //管理员电话
    private String a_phone;
    //管理员地址
    private String a_address;
    //服务请求
    private String service_request;
    //优先级
    private int priority;
    //客户id
    private int c_id;
    //联系人
    private String c_name;
    //联系电话
    private String c_phone;
    //所属区域
    private String c_area;
    //详细地址
    private String c_address;
    //来源渠道
    private String source;
    //工单类型id
    private int w_id;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime create_time;
    //设备id
    private int pr_id;
    //配件id
    private int ac_id;
    //服务网点
    private String service_network;
    //客户id
    private int e_id;

}
